<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>


 <div class="adminLoginWrap"> 
  <script type="text/javascript">
	  function _onSubmit(val){
	    obj = document.form1;
	    if(obj.me_uid.value ==""){
	      alert("아이디를 입력해 주세요");
	      obj.me_uid.focus();
	      return false;
	    } 
	    if(obj.me_pwd.value ==""){
	      alert("비밀번호를 입력해 주세요");
	      obj.me_pwd.focus();
	      return false;
	    }    
	  }
  </script>
    <!-- 로그인 -->
    <div class="adminLogin"> 
      <!-- 로그인폼 -->
       <spring:hasBindErrors name="LoginModel" />
      <span class="error"><form:errors path="LoginModel.me_uid" /></span><br/>
	<span class="error"><form:errors path="LoginModel.me_pwd" /></span><br/>
      <form name="form1" method="post" onsubmit="return _onSubmit(this);" action="<%=request.getContextPath()%>/lmAdm/loginProcess.do">
        <fieldset>
          <legend>관리자페이지 로그인</legend>
          <label for="me_uid">아이디</label>
          <input type="text" id="me_uid" name="me_uid" value="" />
          <label for="me_pwd">비밀번호</label>
          <input type="password" id="me_pwd" name="me_pwd" value="" maxlength="15" />
          <input type="submit" class="adminLoginBtn" value="관리자로그인" />
        </fieldset>
      </form>
      <!-- //로그인폼 --> 
      <!-- 로그인 안내문 -->
      <ul>
        <li>관리자페이지는 로그인이 필요합니다.</li>
        <li>관리자 ID / PASSWORD를 분실하셨다면 <span>서버담당자에게 연락</span>을 하셔야 합니다.</li>
        <li>전화번호 :  </li>
      </ul>
      <!-- //로그인 안내문 --> 
    </div>
    <!-- 로그인 --> 
  </div>
  